//
//  CabinsCell.h
//  lv678
//
//  Created by apple on 15/9/5.
//  Copyright (c) 2015年 lampshade. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FlightCodeListModel.h"
#import "FlightListModel.h"
@protocol CabinsCellDelegate <NSObject>

- (void)pushViewToOrder:(FlightListModel *)listModel sendData:(FlightCodeListModel *)codeModel;

@end

@interface CabinsCell : UITableViewCell
@property (strong, nonatomic) FlightCodeListModel *code_model;
@property (nonatomic, strong) FlightListModel *list_model;
@property (nonatomic, assign) id<CabinsCellDelegate>delegate;

- (void)setList:(FlightListModel *)flightListModel setCode:(FlightCodeListModel *)codeModel;
+ (instancetype)cabinsWithTableView:(UITableView *)tableView;
@end
